package net.trustie.dao;

import net.trustie.model.codeproject_Model;

import org.apache.ibatis.annotations.Insert;

public interface Codeproject_Dao {
	
	
	@Insert("insert into codeproject"
			+ "(`source`,`related_posts`,`rate_value`,`rate_num`,`type`,`url`,`title`,`tags`,`content`,`view_num`,"
			+ "`star_num`,`review_num`,`created_time`,`extracted_time`,`author`,"
			+ "`author_url`,`url_md5`)"
					
			+ " values (#{source},#{related_post},#{rate_value},#{rate_num},#{type},#{questionUrl},#{questionTitle},#{tag},#{questionContent},"
			+ "#{view_num},#{stars},#{answer_num},#{createTime},"
			+ "#{extractTime},#{author},#{authorUrl},#{urlMD5})")
	
	public int add(codeproject_Model codeproject_Model);
}
